package com.dongwu.manager.entity;

import javax.persistence.Entity;

import com.dongwu.common.entity.BaseEntity;

/**
 * 营销工具开启记录表
 * 
 * @author xyj
 *
 */
@Entity
public class OpenMarket extends BaseEntity<String> {
	
	private String deviceId; // 设备

	private String marketId; // 营销

//	@ManyToOne(cascade = { CascadeType.MERGE, CascadeType.REFRESH })
//	@JoinColumn(name = "userid")
//	private User user; // 用户

//	public User getUser() {
//		return user;
//	}
//
//	public void setUser(User user) {
//		this.user = user;
//	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getMarketId() {
		return marketId;
	}

	public void setMarketId(String marketId) {
		this.marketId = marketId;
	}

}